<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2023/6/26
  Time: 16:41  详细地址:<input type="text" name="area1" value=""><br />
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="css/2.css" rel="stylesheet">
</head>
<body>
<form action="${pageContext.request.contextPath}/address/insert" method="post">
        <table width="100%" border="1" cellsapcing="5" cellpadding="20">
            <tr>
                <td width="100" align="right">收货人：</td>
                <td><input type="text" name="name" value=""></td>
            </tr>
            <tr>
                <td width="100" align="right">联系电话：</td>
                <td><input type="text" name="phone" value=""></td>
            </tr>
            <tr>
                <td width="100" align="right">具体地址：</td>
                <td>
                    <label for="area">省份:</label>
                    <select name="area" id="area" >
                        <option value="">请选择省份</option>
                        <option value="北京市">北京市</option>
                        <option value="上海市">上海市</option>
                        <option value="广东省">广东省</option>
                        <option value="江苏省">江苏省</option>
                        <option value="甘肃省">甘肃省</option>
                    </select>

                    <label for="areaa">城市:</label>
                    <select name="areaa" id="areaa"  disabled>
                        <option value="">请选择城市</option>
                    </select>

                    <label for="areab">区/县:</label>
                    <select  name="areab" id="areab" disabled>
                        <option value="">请选择区/县</option>
                    </select>
                </td>
            </tr>

            <script src="js/area.js"></script>

            <tr>
                <td width="100" align="right">详细地址：</td>
                <td><textarea name="area1" ></textarea></td>
            </tr>
            <tr>
                <td width="100" align="right">类型：</td>
                <td><select name="types" ><option selected>家</option>
                </select></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="保存" id="b"/>
                </td>

            </tr>
        </table>

    </form>
</body>
</html>
